<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/commons/taglibs.jsp" %>
<%@ include file="/commons/uploadPic.jsp"%>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<%@include file="/commons/head.jsp"%>
		<title>小刀定制游戏</title>
		<link rel="shortcut icon" href="${root}/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" type="text/css" href="${root}/resources/css/newCommon.css" />
		<!--[if IE 9]>
    <link href="${root}/resources/css/ieHack9.css" rel="stylesheet" type="text/css"/> <![endif]-->
		<!--[if IE 8]>
    <link href="${root}/resources/css/ieHack.css" rel="stylesheet" type="text/css"/>
    <link href="css/ieHack8.css" rel="stylesheet" type="text/css"/> <![endif]-->
		<!--[if lte IE 7]>
    <link href="${root}/resources/css/ieHack.css" rel="stylesheet" type="text/css"/> <![endif]-->
		<link href="${root}/resources/css/heql.css" rel="stylesheet" type="text/css" />
		<![endif]-->
    <style>
        .form>form>div label{width:78px;text-align: right;display: inline-block;} .form > form>div label.none{display: none;} .form > form>div label.error{width:auto;} .xiaotu,.faza{display: inline-block;float:none} .addrewardBox {vertical-align: top;} .addprize { overflow: hidden; float: left; width:470px; border: 2px dashed #e5e5e5; line-height: 34px; cursor: pointer; text-align: center;padding:20px 0;} .addprize img{vertical-align:middle;margin-right: 7px;} .prizepic{float:left; overflow:hidden;width:88px; height:88px;border:1px solid #e5e5e5;} .prizepic img{width:88px; margin-top:15px;} .rewardnumber span { font-size:30px; font-family:Arial;} .rewardtitle,.rewardminute{ float:left; overflow:hidden; line-height:24px; width:360px; padding:0 7px 0 20px;} .rewardtitle strong { font-weight:bold; float:left; word-wrap : break-word } .rewardtitle span { cursor:pointer;} #prizes_ul li{border: 1px solid #ddd;padding: 10px;}
    </style>
</head>
<body>
	        
            
	<div class="page-container  form">
		<form class="block-form"  id="awardForm"> 
			<div>
				<label><span class="redColor">*</span>奖品类型：</label>
				<div class="overlay">
					<input type="hidden" value="REAL_GOODS"  class="form-select-value catevalue" name="awardType"/> 
					<div class="dropdown"> 
						<button class="dropdown-toggle form-dropdown" type="button">
							<span class="value text-ellipsis pro_catevalue" data-default="实物">实物</span>
							<span class="caret"></span>
						</button>
						<ul class="none"  id="awardType">
							<li data-value="REAL_GOODS">实物</li>
							<li data-value="RED_PACK">定额红包</li>
							<li data-value="RANDOM_PACK">随机红包</li> 
							<li data-value="THANKS">谢谢参与</li>
						</ul>
					</div> 
				</div> 
			</div>'+
            '<div><label><span class="redColor">*</span>奖品名称：</label><input type="text" class="" id="awardName" placeholder="奖品名称" /></div>'+
            '<div class="random">
            	<label><span class="redColor">*</span>红包最小值(元)：</label><input style="width:120px;" id="minValue" type="text" class="" value="" placeholder="红包最小值"> 
            	<label style="margin-left: 20px;"><span class="redColor">*</span>红包最大值(元)：</label> <input style="width:120px;" id="maxValue" type="text" class="" value="" placeholder="红包最大值">
            </div>'+
            '<div class="fixedRed">
            	<label><span class="redColor">*</span>红包金额：</label><input name="textfield" style="width:120px;" type="text" class="" id="fixValue" placeholder="红包金额" /> 
            	<label style="margin-left:20px;"><span class="redColor">*</span>红包个数：</label><input style="margin-left:4px;width:120px;" name="textfield" type="text" class="" id="fixTotal"  style="width:150px;" placeholder="红包个数" />
            </div>'+
            '<div class="otherType"><label><span class="redColor">*</span>奖品数量：</label><input name="textfield" type="text" class="" id="awardNum" placeholder="奖品数量" /></div>'+
            '<div><label><span class="redColor">*</span>中奖率(%)：</label><input name="probabilityFloat" type="text" class="" id="probability" /></div>'+
            '<div> <label><span class="red">*</span>奖品图片：</label><
            	div class="inline-block" style="vertical-align: top;"> 
            	<table><tr> <td><img id="awardImg" src="${root}/resources/images/youhuiquan.png" width="103" height="103" /></td>
            		<td style="padding-left:20px;"> <p style="margin-bottom: 5px;">尺寸为200*200像素，格式为jpg、jpeg、png</p>
            			<span class="search-input-button border-radius bgblue upimg_button" style="margin-right:0px;" onclick="uploadAwardPic()" >选择上传</span>
            		</td>
            	</tr>
            	</table>'+
            '</div></div><div><label><span class="red">*</span>奖品说明：</label> <div class="inline-block" style="vertical-align: top;">'+
            '<textarea cols="" rows="10" id="content" class=" biaodang" style="width:400px;"></textarea>'+
            '<div class="award-content red">提示：请说明奖品内容，奖品用途等</div> </div></div><div class="" style="margin-top:40px;margin-left: 103px;">'+
            '<input type="submit" value="保存" class="search-input-button bgblue" id="saveButton" />'+
            '<input type="button" value="取消" class="search-input-button" id="cancelButton"/>
</body>
</html>